<?
/**
 * <b>SellerPaymentPreferencesType Class</b>
 * Published 04/11/2010 19:01:45
 *
 * @author Lars Sorhus (lars@saucecode.com.au)
 * @copyright sauceCode Pty Ltd.
 * @version 1.0.693.1.
 * @internal It's not recommended at all to modify this code.
 */
require_once('EbatNs_ComplexType.php');
require_once('AddressType.php');
require_once('DisplayPayNowButtonCodeType.php');
require_once('UPSRateOptionCodeType.php');

class SellerPaymentPreferencesType extends EbatNs_ComplexType{
 /** Start Properties **/
	// @var boolean $AlwaysUseThisPaymentAddress
	public $AlwaysUseThisPaymentAddress;
	// @var string $DefaultPayPalEmailAddress
	public $DefaultPayPalEmailAddress;
	// @var DisplayPayNowButtonCodeType $DisplayPayNowButton
	public $DisplayPayNowButton;
	// @var boolean $PayPalAlwaysOn
	public $PayPalAlwaysOn;
	// @var boolean $PayPalPreferred
	public $PayPalPreferred;
	// @var AddressType $SellerPaymentAddress
	public $SellerPaymentAddress;
	// @var UPSRateOptionCodeType $UPSRateOption
	public $UPSRateOption;
 /** End Properties **/

/**
 *
 * @return boolean
 */
	function getAlwaysUseThisPaymentAddress(){
		return $this->AlwaysUseThisPaymentAddress;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setAlwaysUseThisPaymentAddress($value){
		$this->AlwaysUseThisPaymentAddress = $value;
	}


/**
 *
 * @return string
 */
	function getDefaultPayPalEmailAddress(){
		return $this->DefaultPayPalEmailAddress;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDefaultPayPalEmailAddress($value){
		$this->DefaultPayPalEmailAddress = $value;
	}


/**
 *
 * @return DisplayPayNowButtonCodeType
 */
	function getDisplayPayNowButton(){
		return $this->DisplayPayNowButton;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setDisplayPayNowButton($value){
		$this->DisplayPayNowButton = $value;
	}


/**
 *
 * @return boolean
 */
	function getPayPalAlwaysOn(){
		return $this->PayPalAlwaysOn;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPayPalAlwaysOn($value){
		$this->PayPalAlwaysOn = $value;
	}


/**
 *
 * @return boolean
 */
	function getPayPalPreferred(){
		return $this->PayPalPreferred;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setPayPalPreferred($value){
		$this->PayPalPreferred = $value;
	}


/**
 *
 * @return AddressType
 */
	function getSellerPaymentAddress(){
		return $this->SellerPaymentAddress;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setSellerPaymentAddress($value){
		$this->SellerPaymentAddress = $value;
	}


/**
 *
 * @return UPSRateOptionCodeType
 */
	function getUPSRateOption(){
		return $this->UPSRateOption;
	}
/**
 *
 * @return void
 * @param  $value
 */
	function setUPSRateOption($value){
		$this->UPSRateOption = $value;
	}


/**
 *
 * @constructor __construct
 * @access private
 * @return void
 */
	function __construct(){
		$this->EbatNs_ComplexType("SellerPaymentPreferencesType","urn:ebay:apis:eBLBaseComponents");
		$this->_elements = array_merge($this->_elements,
			array(
				"AlwaysUseThisPaymentAddress"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DefaultPayPalEmailAddress"=>
					array(
						"required"=>false,
						"type"=>"string",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"DisplayPayNowButton"=>
					array(
						"required"=>false,
						"type"=>"DisplayPayNowButtonCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PayPalAlwaysOn"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"PayPalPreferred"=>
					array(
						"required"=>false,
						"type"=>"boolean",
						"nsURI"=>"http://www.w3.org/2001/XMLSchema",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"SellerPaymentAddress"=>
					array(
						"required"=>false,
						"type"=>"AddressType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					),
				"UPSRateOption"=>
					array(
						"required"=>false,
						"type"=>"UPSRateOptionCodeType",
						"nsURI"=>"urn:ebay:apis:eBLBaseComponents",
						"array"=>false,
						"cardinality"=>"0..1"
					)
			)
		);
	}
}
?>
